package com.wanyang.mapper;

import com.wanyang.dos.GoldOrderDO;
import com.wanyang.dos.GoldOrderDOExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface GoldOrderDOMapper {
    long countByExample(GoldOrderDOExample example);

    int deleteByExample(GoldOrderDOExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(GoldOrderDO record);

    int insertSelective(GoldOrderDO record);

    GoldOrderDO selectOneByExample(GoldOrderDOExample example);

    List<GoldOrderDO> selectByExample(GoldOrderDOExample example);

    GoldOrderDO selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") GoldOrderDO record, @Param("example") GoldOrderDOExample example);

    int updateByExample(@Param("record") GoldOrderDO record, @Param("example") GoldOrderDOExample example);

    int updateByPrimaryKeySelective(GoldOrderDO record);

    int updateByPrimaryKey(GoldOrderDO record);
}